add a test of priority