test place code before closepath