implemented 3 tests