updated CLR code to properly pass custom managed Context object through the system while still being able to log features. Added complete test suite to verify custom context API usage