Added additional test code to avoid warnings.