Builds dictionary of locations; testing