Making a poor attempt at setting up integration tests