bug fixing with studentLogic and more tests