moving the apis tests from jarvis

- move the api tests into the module and add a command to the
package.json to run them