Add tests for bintools (hash_file and decode_object)