Fix error in automated test run