Fixed test (relates to #17)
Added contract checks for debug mode
Added contracts to project file
TaskDispatcher will wait until running tasks finished (relates to #17)