Adds a test which use different names in the constructor and AS clause