Add recording delete instance test
merge master in; fix test assertion