Added the tests and example solution for task 4