Added basic tests for hash behavior