Fix name of the length() function
Fix duplicate rule for the indexof() function
Add tests for the added $filter functions