added a test case for complex expr