Added test codes for import error in ci.