Add constructor visibility test to python test cases

Authored by habacker on Jun 26 2019, 2:23 PM.