Add a few more touches to HashMap

Now checks for illegal load factors.

Added one more border test case for resize.