Unified approach to testing improves learning process