subtask3 added tests