UCLOUDNG-1397: make quantum unit test passed in python unittest

1. Count out unnecessary tests
2. Fix general errors and failures and applied some upstream patches
3. Fix failure cases caused by NG network model