implemented student service and refactored repository test