kernelbase/tests: Make sure buffer is big enough for test paths. We have test cases with |path| > MAX_PATH, but our buffer is only MAX_PATH sized.