Add test for TransactionalPropertyWrapper memory leaks

Change-Id: I69d0d759f95100f1dd9e2dbba57ec2c246e3aca9