chore: add test case for locals binding context