Make feature tests clearer and split them up

(cherry picked from commit 8a2fa390204a213563d49235d4151727f139e743)
Make comparison with doubles concise