Make TestExecutionContext MBR. Fixes #156

This request replaces PR 159, which wasn't completed. It fixes issue #156 by making TestExecutionContext an MBR class. A test was added to illustrate the bug and passes with this fix.