testing the new t_inner fix

@mklauser this adds a test to your fix. There seems to be a problem with compilation on my machine, but if travis builds then I need to fix this separately.