refactored assertion whitelisting (with one entry) into its own function, fixed associated tests
Merge pull request #2 from ottonomy/karthik-urlparse

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