Decapitalize graph.js
Add tests
Bug fixes (thanks tests!)