Tests: DRY up hashing and bust paths