Cursor support and support for Test::Spec environment