added tests for task #30