tests for task 7