Test validator to string

resolves #66