TST: skip buggy tests on debian (GH6270, GH7664)

closes #6270 
closes #7664