Add tests for oneOfType with shape

This caused issues when there would be a union of a shape checker which
did not pass, and another type which did. The shape checker would output
warnings even though the other type passed.

Also, I signed the CLA.