Move test data to test/data.
Add tests for expandFile.