made Qobj unit tests more robust by avoiding exact comparison of floats (which previously occationally failed)