Add test for buffer overflow