fix resource cannot found issue when run the test