Add a test for exploit preventative behaviour