Added multiple test cases, and made some minor tweaks.
Merge branch 'master' of github.com:bramp/objectgraph