Fix up the API tests

 - Create a new JsonOrigin that reads data from a file
 - Make it possible to disable lazyStartup so that the data is guaranteed to be available