Created unit tests for RegisterStudentsTest.java.

Signed-off-by: billal007 <billalkohistani@gmail.com>