Replaced hard-coded paths in tests/setup.py

Now using os.path functions and the __file__ variable to work
out the location of DATA_DIR instead of hard-coding it