refactored testanza self-test to run non-static methods