Add all modules as attributes in the net_manager scope
Add more tests, clean up python tests