XCOMMONS-278: Replaced method used for unit testing execution context properties with reflection access.