unittests: exit(1) or error