Added UserdefLocation and UserdefLocationTests classes.