Added priorities
Added tests to the new deployment settings feature.