Replaces @AfterTest annotations with IHookable to replace the implementation. 

This removes the dependency on configuration functions and reliance on any configuration functions.