Get unit tests to pass.

Signed-off-by: Ryu Ishimoto <ryu@midokura.com>