fixed assign test for new print function