fixed issue with cfg being assigned to data in Http object. added tests
v0.1.6