removed commented code and added test file to linter