test cases for lambda enabled