Enforce the proper shell type in unit tests