use generic map interface in tests