task1 all tests and methods