Fixed unit tests for ajax rename