Refactor TerminalEmulatorTest
Refactor TerminalEmulatorTest some more

Make tests for TerminalEmulator class more readable and clear.
Refactor TerminalEmulatorTest even more

Combine drawsTextInBufferOnDisplay() and drawsAttributeInBufferOnDisplay()
in hope to increase code coverage.