introduce interfaces for database access to allow unit testing with
mockups.
add unit test for GetObservationOperationHandler