convert grep-based bats tests