There will always be problems, because what happens in the real world is different than what happens in the laboratory.
As long as the plane works as it was designed to do, it’s a success.
In flight test that’s what is done - it’s wrung out to find faults/weaknesses/strengths.