added clear db test helper
renamed unit tetss
consistent spacing
moved coverage instrumentation code into test helper