add test stubs for api related functions