Clearing cache from test.
File type check for Gelbooru init.