Started API tests
Committing tests and api docs update.