Test task using python