fix selector usage in test runner
improve error handling in __Pyx_init_sys_getdefaultencoding_params()