adding documentation and test for linuxrouter.py