Add unittest with mock for linux_os.py
Removed whitespaces in mock_txt/ifconfig.txt
Changes based on review comments