Tests for task 7