validation now works. See ext/test_validation.py for an example