test only libmagic