Created basic test framework. Fixed imports in location.js. Renamed the state to LocationState.