tests for task 4