use tmp dir for testing
add expected dir