fixed test cases; change bt to buffer-type