Sample js test snippets