Remove unnecessary commented code in tests