Write test driver for CAMBuffer