Update controller lua binding and related test cases