proper filters and tests

using proper filterable method for read and write, making tests pass