Add debugging logs to test