added a few test comments
split ast helper functions into separate module
tests for defining and calling functions