Maximized test coverage.

Only thing untested is a Celery worker function, but that only gets
called when a real worker connects to the broker.

Commented out Redis script code in application.py. Later on I'll provide
some example code for that.