moved spec into shared examples and fixed broken association in courts