BLD/TST: fix bool block failures when strings are passed to replace list