now using validate() before publish() to return readable errors on why publish is breaking
move error messages logging responsibility from resume.js to test.js