small fixes + adding tests + name alignment of custom class (task,precondition)