tests: simpler stdout testing
using atexit to register the showCursor fun
cursor tests