Create and populate in-memory database in preparation for testing the save method