Check during test runtime instead of test generation for _WORKING, and add 2.6 compat