Snippets for testing improved