unit tests for core.js
unit tests for units.js
Merge pull request #671 from kashesandr/nvd3-testing

unit tests for core.js