fixed unit-test for grettyStartTask