added tests for the flowchart library