Fixed an issue taht caused tests to be improperly failed.