add failing test for binding to resources
Merge pull request #793 from minrk/test_resource

add failing test for binding to resources