Added tests for binding to interfaces