Convert regular asserts to unittest assert methods.

This makes the tests in test_backend.py and test_celery.py more
consistent with the rest of the test suite. Plus, unittest asserts
give you more detailed error messages when a test fails.