RF: Refactor some tests and function definitions in attempt to make the ...

...tests pass.

In particular: I don't think that you can call object methods inside of the object __init__ function. That is, the object has to be initialized, before other methods get attached to it.