added QUnit.precision check in number comparison to handle floating point numbers