Add tests for Definition and Formula tasks.