add tests for hash height and width