Refactored the test run of GrokAssembly to avoid double-closing

Moved the test-run of GrokAssembly outside of the previous try block. This is how I should have done it initially. Thanks for catching that.