Added snippets for version 5 for unit tests.