feat(test_lib): change test_lib.dart to structurally compare objects

Make `toEqual` behave the same way in JS and Dart.

```
        var expected = new TestObj(new TestObj({"one" : [1,2]}));
        var actual = new TestObj(new TestObj({"one" : [1,2]}));
      
        expect(actual).toEqual(expected);
```