Added JUnit test for checkDisplayName

I did it!