test the current name functionality