Reduce duplicated tests