stop hiding the cursor
add a Type argument to @test_throws