Test demonstrating an edge case of generic interfaces