Fixed tests for task 8