Testing basic repository functionality