Fix hash tests cleanup

Added some Travis debugging messages as well.