QUnit.test( "test displayOptionsList", function( assert ) {
document.getElementsByTagName("input")[0].value = "";
wordFinder.displayOptionsList();
assert.equal(document.getElementById("results").style.display, "none", "sets display to none" );
});
Perhaps at the start of this test create a variable that stores the initial display style of the input element (visible/block), then after the wordFinder.displayOptionsList function make another variable that holds the new display style, then compare the two in the test