This should probably just return a boolean as an isSimilar to reduce the dependency on junit in here.