Added tests to tempdir