added tests for task #10
added tests for task #21
prettify tests
added tests for task #13
added missed return statement
added tests for task #28