Added nosetests
fixed pep8 errors for paranoidi