run mocha within node / add schema.validate tests