Added java hash map test