Don't add a new line after an if at the end of a file
Bring filter up to standards
Add tests