Added a test for mkstemp()