made tests for setPriority and setStatus