Fix testing on Travis

It seems pip complains on `pip install .` because of the symlink to
black-magic in the test subdirectories.