Add (not yet implemented) unit-test of api