Some tests added for creating diagrams by jsPlumb