add test for pairwise, throwing an error