Fix message printed when a running instance is detected
Update testsuite for fixed terminal reset