Adding unit test to make sure non-SHA like prefixes don't get stripped