Added logging, fixed testData missing