tests for task 2