Test added for saving last diagram
Merge pull request #36 from Wisienkas/test_for_issue14

Test added for saving last diagram