Fix bug when running test with nose
Update test harness