implemented 2 tests