Changed location of shared_examples and testing block passing