Use 'home-dir not 'temp-dir in some tests.

On Ubuntu 'temp-dir doesn't end in trailing slash, causing the tests
to fail.