added test for get_objects_for_workstep with_priority