Fix #516 Use a temporary videodir for recording tests

- Set the video directory to be a temporary directory before the tests
- Prevents the creation of files in the users video directory during the tests