be smarter about what cases might occur here
result might be null sometimes, but we don't want to pass that on
if we run a bunch of tests in a row, sometimes log file handles collide
fixing tests to use new style of element finding