Fixed accidently broken test
Moved bussiness logis from VM to cws.core.Task. Next step will be to introduce various types of tasks