Dealing with uncertainty in automated test assembly problems