Remove duplicate test
Remove unnecessary pass statement