Add missing unit tests for the new RuntimeContext module