We need to implement layer based unit/integration testing. This ticket will deal with data layer tests.