added support for destructive tests

update according to comments