Spring (Boot) integration tests

Hello I followed some github examples about testing with Spring Boot but in each case my TaskService contains only nulls. The runtimeService.startProcessInstanceByKey("Test") starts process fine. I can see println output from there. How can I take values passed between processess by set/get variable methods, check does process finished fine or just interact in any way with it?

@RunWith(SpringJUnit4ClassRunner::class)
@SpringBootTest
@ActiveProfiles("test")
class FetchActiveSlackMembersTest {

    @Autowired
    lateinit var runtimeService: RuntimeService

    @Autowired
    lateinit var taskService: TaskService

    @Autowired
    lateinit var processEngineRule: ProcessEngineRule

    @Test
    @Deployment(resources = ["test.bpmn"])
    fun shouldFetchAllActiveSlackMembers() {
        runtimeService.startProcessInstanceByKey("Test") 
        val result = taskService.createTaskQuery().singleResult()
        println(result.name) // null

    }
}

@Service("Test")
class Test: JavaDelegate {

    override fun execute(execution: DelegateExecution) {
        println("asd") // works fine, i can see this
        execution.setVariable("asd","qwe")
    }
}

// test 2 just gets this variable

Screenshot%20from%202018-08-29%2022-20-14