Added and fixed prefessor test