Bash function for nosetests3