Add tests for before() and after() functions
Add before and after arrays to the context attributes
Add the before() and after() functions
Tie before and after into the executor

Add a loop detection check to make sure we don't get into infinite task loops