HF RL Explorer

Improved output capturing and added tests

Improved output capturing and added tests: a task in lifesci-drug-discovery-swe-envs-nocap (Harbor dataset). Title: Improved output capturing and added tests

The task

**Title:** Improved output capturing and added tests

Part of scalingX/lifesci-drug-discovery-swe-envs-nocap.