Make celery mixin tests work with celery 3.1

It's ugly but should be backwards compatible to Celery 2.5
Merge remote-tracking branch 'dctrwatson/cel-tests' into fix_celery_3_1_x