Some custom error type tests
Flatten away
Starting on validation testing