testing for portage