FIXED: decoding of filters
ADDED: test for filters