make test independ of Map implementation of the host JDK