add more debug prints for tests