Basic test for gateway ip
Basic test for validatePortforwardString
Test opposite case for validatePortforwardString
Fix errors, test all the alternate cases