Added test coverage for more hashref methods