Check that private properties originate in the same declaration
Add a test to make sure types are being checked for privates