This cleans up the test, but also adds some code to make sure the frequency file is updated when a known network is forgotten
This tests that the known frequency file works as expected, both for PSK and hotspot (and 8021x) networks.