Added a test for the foreach bind