Fix basenames in test execution