tests: fix failing tests in AddOnUnitTest
tests: fix failing tests in AddOnUnitTest

Update the tests to match the new behaviour, add-ons that declare the
minimum ZAP version can be loaded only if the version is greater than
2.4.0.

ozzyjohnson/zaproxy,mustafa421/zaproxy,0xkasun/zaproxy,urgupluoglu/zaproxy,zaproxy/zaproxy,NVolcz/zaproxy,NVolcz/zaproxy,robocoder/zaproxy,psiinon/zaproxy,DJMIN/zaproxy,urgupluoglu/zaproxy,UjuE/zaproxy,cassiodeveloper/zaproxy,0xkasun/zaproxy,surikato/zaproxy,MD14/zaproxy,tjackiw/zaproxy,gmaran23/zaproxy,JordanGS/zaproxy,jorik041/zaproxy,kingthorin/zaproxy,surikato/zaproxy,robocoder/zaproxy,UjuE/zaproxy,gmaran23/zaproxy,meitar/zaproxy,mario-areias/zaproxy,thamizarasu/zaproxy,surikato/zaproxy,Harinus/zaproxy,mustafa421/zaproxy,NVolcz/zaproxy,ozzyjohnson/zaproxy,lightsey/zaproxy,DJMIN/zaproxy,zapbot/zaproxy,thc202/zaproxy,jorik041/zaproxy,meitar/zaproxy,mario-areias/zaproxy,surikato/zaproxy,rajiv65/zaproxy,gmaran23/zaproxy,surikato/zaproxy,pdehaan/zaproxy,gsavastano/zaproxy,Harinus/zaproxy,mabdi/zaproxy,0xkasun/zaproxy,Ye-Yong-Chi/zaproxy,jorik041/zaproxy,robocoder/zaproxy,mabdi/zaproxy,Ye-Yong-Chi/zaproxy,veggiespam/zaproxy,psiinon/zaproxy,cassiodeveloper/zaproxy,profjrr/zaproxy,0xkasun/zaproxy,efdutra/zaproxy,pdehaan/zaproxy,Ye-Yong-Chi/zaproxy,mustafa421/zaproxy,thamizarasu/zaproxy,rajiv65/zaproxy,efdutra/zaproxy,profjrr/zaproxy,kingthorin/zaproxy,thamizarasu/zaproxy,psiinon/zaproxy,pdehaan/zaproxy,NVolcz/zaproxy,zapbot/zaproxy,robocoder/zaproxy,mario-areias/zaproxy,psiinon/zaproxy,gmaran23/zaproxy,robocoder/zaproxy,jorik041/zaproxy,veggiespam/zaproxy,thc202/zaproxy,JordanGS/zaproxy,veggiespam/zaproxy,gsavastano/zaproxy,Ali-Razmjoo/zaproxy,jorik041/zaproxy,tjackiw/zaproxy,Harinus/zaproxy,MD14/zaproxy,Ali-Razmjoo/zaproxy,zapbot/zaproxy,meitar/zaproxy,profjrr/zaproxy,cassiodeveloper/zaproxy,efdutra/zaproxy,meitar/zaproxy,jorik041/zaproxy,Ye-Yong-Chi/zaproxy,gsavastano/zaproxy,psiinon/zaproxy,mustafa421/zaproxy,profjrr/zaproxy,surikato/zaproxy,efdutra/zaproxy,mustafa421/zaproxy,kingthorin/zaproxy,efdutra/zaproxy,efdutra/zaproxy,MD14/zaproxy,kingthorin/zaproxy,zaproxy/zaproxy,ozzyjohnson/zaproxy,UjuE/zaproxy,kingthorin/zaproxy,zaproxy/zaproxy,MD14/zaproxy,rajiv65/zaproxy,zapbot/zaproxy,mabdi/zaproxy,0xkasun/zaproxy,Ali-Razmjoo/zaproxy,mario-areias/zaproxy,zapbot/zaproxy,pdehaan/zaproxy,lightsey/zaproxy,ozzyjohnson/zaproxy,DJMIN/zaproxy,Ali-Razmjoo/zaproxy,pdehaan/zaproxy,Ali-Razmjoo/zaproxy,mario-areias/zaproxy,robocoder/zaproxy,gmaran23/zaproxy,urgupluoglu/zaproxy,Ye-Yong-Chi/zaproxy,Ye-Yong-Chi/zaproxy,NVolcz/zaproxy,rajiv65/zaproxy,DJMIN/zaproxy,mustafa421/zaproxy,tjackiw/zaproxy,0xkasun/zaproxy,veggiespam/zaproxy,thamizarasu/zaproxy,lightsey/zaproxy,urgupluoglu/zaproxy,thamizarasu/zaproxy,UjuE/zaproxy,thc202/zaproxy,robocoder/zaproxy,DJMIN/zaproxy,veggiespam/zaproxy,Harinus/zaproxy,surikato/zaproxy,gsavastano/zaproxy,JordanGS/zaproxy,rajiv65/zaproxy,mario-areias/zaproxy,cassiodeveloper/zaproxy,thc202/zaproxy,gmaran23/zaproxy,tjackiw/zaproxy,thamizarasu/zaproxy,zaproxy/zaproxy,profjrr/zaproxy,meitar/zaproxy,cassiodeveloper/zaproxy,thc202/zaproxy,pdehaan/zaproxy,tjackiw/zaproxy,MD14/zaproxy,zaproxy/zaproxy,lightsey/zaproxy,jorik041/zaproxy,gsavastano/zaproxy,urgupluoglu/zaproxy,Ye-Yong-Chi/zaproxy,tjackiw/zaproxy,Harinus/zaproxy,veggiespam/zaproxy,veggiespam/zaproxy,profjrr/zaproxy,gmaran23/zaproxy,kingthorin/zaproxy,JordanGS/zaproxy,psiinon/zaproxy,lightsey/zaproxy,0xkasun/zaproxy,DJMIN/zaproxy,Ali-Razmjoo/zaproxy,mario-areias/zaproxy,urgupluoglu/zaproxy,kingthorin/zaproxy,mustafa421/zaproxy,rajiv65/zaproxy,Harinus/zaproxy,mabdi/zaproxy,ozzyjohnson/zaproxy,gsavastano/zaproxy,JordanGS/zaproxy,efdutra/zaproxy,profjrr/zaproxy,JordanGS/zaproxy,meitar/zaproxy,meitar/zaproxy,tjackiw/zaproxy,rajiv65/zaproxy,mabdi/zaproxy,cassiodeveloper/zaproxy,zaproxy/zaproxy,ozzyjohnson/zaproxy,gsavastano/zaproxy,NVolcz/zaproxy,zapbot/zaproxy,lightsey/zaproxy,lightsey/zaproxy,mabdi/zaproxy,MD14/zaproxy,urgupluoglu/zaproxy,thc202/zaproxy,cassiodeveloper/zaproxy,DJMIN/zaproxy,Harinus/zaproxy,Ali-Razmjoo/zaproxy,UjuE/zaproxy,psiinon/zaproxy,meitar/zaproxy,UjuE/zaproxy,pdehaan/zaproxy,ozzyjohnson/zaproxy,thc202/zaproxy,MD14/zaproxy,thamizarasu/zaproxy,zapbot/zaproxy,UjuE/zaproxy,zaproxy/zaproxy,JordanGS/zaproxy,NVolcz/zaproxy,mabdi/zaproxy