Changed to use nose rather than unittest.