Fix: test didnt minus one changeId in resources test