Add tests for default priority behavior and priority validations