StudentDatabase refactored and tested.