Added some tests for filter spec parsing