Add a test case for different 'new' expressions