Add tests and documentation for stackSafe