refactor wifisignature tests