handling more snippets

- multi line assignments work
- commafirst assignments fixed to treat them as single line snippet
- ast attached to result
- fixed code and raw code attached to result
pulling out test check function