test case for integration of require.js, nvd3 and d3