add test cases for possible failures
use paths instead of forcing strings