added test for namenode edit callback