add some unit tests for the new download and compile resources
add some unit tests for the new download and compile resources

TD-4242/zabbix-agent,TD-4242/cookbook-libzabbix,TD-4242/zabbix-agent,paybyphone/zabbix-agent,paybyphone/zabbix-agent,TD-4242/zabbix-agent,TD-4242/cookbook-libzabbix,paybyphone/zabbix-agent