Use import instead of use (and fix silent errors)
Show and hide cursor in test function
Change example in README