WIP tests
Fix cube.js helper
Add doc