[#341] Add some very basic API tests