added whitelist test and edited api test