Fixed namespace collision with underscore `filter` function
Added tests