Transform source and target from string to int
Move root to test.py, modify Travis configuration file to run nosetests in the appropriate directory