some basic api tests