add tests for bug in cows calculation