build dc.js file but not docs when testing

fixes #799
closes #808