Fix logic related to treating functions as bound
Add a failing test for checking lambda args as bound