Ensure that test folder exists - create it if necessary.