Most of the time after maintenance there should be no need to carry out a flight test. All the aircraft systems (with a few exceptions) can be tested on the ground with test equipment. Engine ground runs should be able to snag any problems there. There are some things which cannot be tested on the ground, like does the aeroplane fly straight after control rerigging.