Update export test to new function