add test virtual server assignment.
refactor and add test