Creating High Volume Portal Users for unit tests

I am attempting to test some code written for an inline visualforce page. This code operates under the assumption that the user viewing it has a contact associated to it. I am attempting to create the User and run my tests as that portal user. I am running into issues inserting the User object. The first error I receive is that the “portal account owner must have a role” at which point I add a role to the creation of the user object and receive the error “High Volume Portal Users cannot have a user role”. Maybe I have a misconception or misunderstanding that is causing this problem. Here is the code that I have written to create the user for the first test: