fixed bug where you could win even with a failed test