Use consistent capitalization for ENABLE_THREADS in tests