fixed linting errors
added tests for discrete-bar-view
added tests for new data table functions