student unit tests, refactor student model