Nosetest

use nose for testing.