fix failing tests exit status