Added invocation of after() method in test rules and added context (test
case) to methods.