Adds test for consuming optional export trailing semicolon from PR #330