Cleanup logs-test.js a bit