* add support for removing elements in the security test framework
* various mocking improvements