fixing test to reset security after done`