added formValidation.js, added formValidation.js to file list in conf.js
and added tests to eventSpec.js