Testing buffer state