implemented "goat" test.