functional tests for acmeio and unit tests for api.py