The election*.js tests run against a mix of 4.4 and 4.2 versions. When run against 4.2, they check for JSON logs instead of text logs.