created a test for exercise 4