Add shared examples to tests