test: port get-network-time to Python 3 and adapt it to multi-sim