Save all test data as part of the promise chain

It was a pure luck that this worked.

Each .save() call is an asynchronous operation which must completed to
ensure that the data is actually available for the next operation.

@jpkorhonen