change tests

adjust cfy tests to newer command line parameters
change tests to use nosetests