adding switch for property injection test