Remove test code when dist files are generated
Fix extra semi-colon in example code