api server can be run from the CLI; added API server integration test