adding basic tests for all api functions, all passing