add test spec for fix of #255

This test is a bit constructed, because I do not know exact
source of core:cancel event, which triggers call of viewModel.cancel