unit test and functionality test for wifishare project