Unit tests for MODULES_WHITELIST