getLine in unit tests