add test case for undefined lens fix