move nosetests configuration into tests directory