Modifying the ebuild to use virtualx for tests lets tests pass too. Patch is attached.