Demonstrate that repl.start() returns a promise by chaining done().
Add to test case lines with null and undefined.
More tests in test input file.
Refactor code using Q helper functions to reduce lines of code.