add test cases
PRIMARY has priority