Method and apparatus for network controller testing on a single computer with high-level operating system