ported StringPAStringBMapTest