fixed test resource problem