add whitelist tests
add whitelist to schema
add whitelist implementation