more api tests in place