Fix creation of test data