app/test: improve accuracy on hash measurements