More Unit Testing, and BUG fixes.

Known issues:
- hypervisor cannot serv for itself.