Add FCYDictionaryFilterTests and fix a bug the test found