ValueDelete test and bugfix