Implement limit for Mongo adapter, added shared adapter test