A few basic API tests

They seem silly and trivial but if this stuff is broken then the API ->
internal layer is broken and stuff just isn't going to work.