Added git pull to get-deps.
Clear build stuff before test runs.
Fixed unit tests.