Simplify cache
Default to zero if parent is undefined
Fix test in makefile
Add package.json
Set better defaults
Systematic test data