delete test
$post var referred to  wrong post
Multiple image tests
don't add domain to whitelist if already whitelisted
not hardcoded plugin dir as it could change
cleanup code
typo
better regex. props unitTests
Feels like for makes more sense here, but its not important!