fix run-tests script not dropping test database
improve test environment
add metrics to moderator dashboard [Closes #159]