Added filter.headOption test