Fixed import bug in test_ctd.