Add draft version of compile task and simple test for this