Added tests for java.util.HashMap.