Junit test for the professor class

Junit test for the professor class