added floating point checks to tests