[Qt] Add more tests to cover the behavior of loadFinished() signal