Refactor test to create and destroy a context for each method that executes