fix the read static file failed of unittest