Add tests for JS filter pluralising