Configured API and created tests for it