Test that the buffer is fully read when parsing an expression/varspec