Fix test issues

Inherit from BasicObject results in failing tests. Sorry for that.