Testing building different types of graphs using Angular/JS framework