test / throw error when trying to save duplicate priorities