created and satisfied test for exercise 3