add basic location constructor test