Better check for writability in repository spec.
Make queryable spec more RSpec like.