completed all 3 test cases for BusinessLayer