@nijel 
I'd like know your opinion on what's best here. I prefer to mock the database interface over adding queries and their output to DummyDBI.