add if agent test to create and change location links on locations page