Reorganize specs into shared_example