fixed some UT related to admin static file handler