White/blacklist keys + tests