[BUGFIX beta] Add unit tests for AutoLocation.