httpcache: added tests for custom dbm module.

And removed the break in the line to improve readability as there
is no strict 80-chars line width convention.