update wifi_network_list to make it easier to test
add unit test for wifi_network_list_test :)