Add debug for fixing tests