Unit tests for hidden field and get_inactive_networks. Unit test for active_networks_to_string is written, but cannot be executed due to ajax. This needs to be done later.