Added orm_adapter and tests which still fail