Add test for $inlinecount parsing