Add two "details" lines
Factor out name handling.
Fixup dos lineendings
Implement purging of Database before testcases.