improving tests with errors_on