Unit test for Sphinx float comparison reworked