api: update tests on api 0.1