Location controller with basic tests.