Added test to make sure contains/not_contains works with nested objects