Refactor Student spec