Support for rubydora 1.7
Mostly this is just changing mocks for internals of rubydora.