Yeah i know this wasn't quite right. But i'm not a big fan of var_export here either.
I think the way i re-did this in the development branch is a bit better using getMessage() although that's not perfect either.

It probably isn't very nice to echo a large data structure here if that is what is being tested. We just need to inform the user of the index in the validations array for witch the test failed.