added check.allSame, fixes #15