Fix #115 Issue about var_dump var_export and count optimizer

- fix issue

- added tests