fix compiler warning, add a few methods
fix removing trailing numbers from variables
call test methods on 'this' (the test object)