fixed: array comparison in assert.equals,

added some js tests for assert