Renamed models/session to adapters, added tests for mongodb