Adding test for S007

Hacking check for creating temp file or dir