some better checking and informative results to assert.js
slightly imrpoved message reporting