deftask tests improvements