created and satisfied test for exercise 2