Add debug output while testing