Added tests for definition of public members on an instance