Make a start on database queue tests.