refactored assertion whitelisting (with one entry) into its own function...

refactored assertion whitelisting (with one entry) into its own function, fixed associated tests