Fixes to test-medium.xml