Added nosetest for decompose.py