Add a test for WITH_CSYMPY_THREAD_SAFE into Travis