added unit test for qwifi.freeloader_gen