Added data() method at GapBuffer, and added test cases.