Fix editing test
Fix registering resources tests