Test case depended on legacy Assert class.