rhbz988202 - add debug logging and enable debug in test