added nosetests
 added nosetests
removed df from arguments