Add mocha config and test task
Fix timebomb test
Fix validation test