Fix not working ert tests

`./run-unit-tests.sh` should run all the tests just fine now.