Added bind to locals tests.