code format and using class decorator to inject QTest methods
exceptions raised inside QtVirtual methods now make tests fail

fixes #11