fixed filter function. Added tests
removed unused export
added missed line between definitions of top-lvl functions
added two more lines )
fixed spaces after comas
changed tabs to spaces. Added spaces after comas in lists
Merge pull request #3 from dmirosh/fixingFilter

Fixing filter