Update unit test for attachment mapping.