Fix DatabaseError raising in feeds tests.