Added buffered implementation of acoder_test.