API up and running with tests