Added a test around chart edit and addition