[TASK] Added some unit tests for new simplified magento version detection.