Fixed a bug where tests were passing when they shouldn't