Added unittest with nose