bufix in tests fixed