add basic tests for api plugin