Update the secure test

- Remove deprecation
- Make test not trigger overwrite protection
- Re-enable test