Added test project. Other edits to API wrapper.