Fix for add edit test, worked on my VM but not test PC