Cleanup issues with practice api and add a basic tests.