cleanup in mutators
add test util for quick inspect debugging
start implementing default functions
fix bug in path traversal, since 0 is a valid path segment
fix issues with model.fn and model.setDiff