These lines should be like the following for cross platfomrness:  

```python
expected_matlib = os.path.join(thisdir, "files_test_alara", "alara_matlib.txt")
```