Test for filter working

might be some stuff to test on the write api