Portals help students take mock tests