Refactor Testing Suite to Incorporate shared_examples