added some tests, and node attributes support