added tests for the whole definition process. Now need tests for execution