added tests to verify in and contain for empty arrays