Added spec for complex filter