Adding debug printing to tests
Adding debug printing to tests