make tests pass by restricting share creation to production environment