add simple test file based dynamic blacklist
refactor a little bit