Made tests exit non-zero if they fail