fixed test for  check error message
added requirements