unit tests for shared test code
stop hardcoding the temp root