added tests for contains