fixed test, removed debug logging