added boiled down template inlining test for stackoverflow question