chor: add bats library