rename redis DB to database; some tests for resque