Fix test to use sys_get_temp_dir

and add separate tests for following and not following, so I can better see what phabricator is doing

These will be removed once I figured out why it fails