testcases for more complex expressions