Adds unit test verifying SC.Store#materializeRecord fix for #1160.