fix testcase
fix npe in normalizeSSID