update setUp to use transaction and change assertions to check for properties instead of record id