Finish upthe API tests