Test black an white lists

This closes #27.