Test-added asMap()