Adds unit tests for .addPublicProperty, .addPublicMethod and .public .