small test on how to create a custom hash function