Move coordinate map to let binding.
Move context function for tests to options file.