added tests for console history