fixing test stubs