added test data for reload after edit, fixed minor bug