add pre-test for -home argument