Added the start of test cases for the api.