Tests for task 4