Added more tests, and ability to clear the buffer from the ShellTest - currently not working