A few minor corrections to the unit testing framework.

I *think* that the function isA() and  function &getContext() should be declared statically (at least this stops php throwing errors when I try to unit test). Other corrections are simply spelling