Support {} test case for scalarMapping