fix resources test