tacking methods on the prototype to make the api easier to use, updating test
0.4.0