Test fixes

@jh-bate This is a work in progress, but at least now I think the structure is in place to do the real work.

* Let the tests be skipped
* Tests can build JSON body with partial data
* API has a handler for the first endpoint and defines a data structure
that can handle partial data