Adds test coverage for new setMap() method