Added testShouldFormatLine in SniffCommandTest