Test case to reproduce template binding issue