Test: Add very basic tests for a variety of API methods

There does seem to be a bit of code duplication between these
tests, could probably still work to make helper assertions and
DRY this up, but it already seems like a good start and good
to have some tests here.

Change-Id: Icc31d684cd4ad5dec0b6c67a69c72b6ddd0ccca7
Merge "Test: Add very basic tests for a variety of API methods"