Converted from unittest to nose