Add tests of the contains function