Test different code snippets