Replaced tabs in output with spaces (not all terminals have a tab-width
of 8)

fixing sha1

adding back tests