ignore only ''/null, null/'' when testing solution

allow user to output using console.log, .pipe(process.stdout),
process.stdout.write etc. as desired.
Some of these methods append newlines, some do not.  This change allows
the learner to focus on the lesson at hand and not get hung up on why
they're outputting `null` when the solution outputs `''`