buffer access test.