fix the broken unit test due to nimbus server upgrade.
fix another unit test due to nimbus server upgrade.
fix a broken unit test
Merge pull request #20 from gcheng/fixunittests

fix broken unit tests in public repo