Fix tests with very long float precison

This should fix the issue are seeing with 2 tests failing. I think it was caused as the precision was too high for 32 bit platforms.