remove the extra space before error. also should probably just name this test countDistinct.