fix test for bw_apply