Add test to distinguish type in member operations