Add tests for parseUPN.