Moved some more edge-case tests into test_validation.