add some checks for existing test files so that we don't inadvertently clobber tests when we don't mean to