app/test: add new functional tests for hash functions