Tests and code for setup map