Add tests to verify both shallow and deep methods, like the examples of README.md.
Add tests to verify both shallow and deep methods, like the examples of README.md.