Added priority setting to tests