better stubs for tests