How To simply create a test from within a class