Add coverage for the linear_range API. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>