Make celery mixin tests work with celery 3.1

It's ugly but should be backwards compatible to Celery 2.5