created and satisfied test for exercise 4