He was best known for his appearances with the World Wrestling Federation ( later World Wrestling Entertainment ) under the ring name Test . Under the ring name Test , Martin wrestled for the World Wrestling Federation ( now known as World Wrestling Entertainment ) from 1998 â `` 2004 , and 2006 â `` 2007 .