Failing scenario bout adding snippets to custom class