Fixed possible NPE in Student comparator
Transactional and final class did not mix, manually clear the repository before each test instead to ensure independet test cases