changed test code to not exit on first fail