refactoring vis.js unit tests