trying out FlatSpec and writing boolean functions