(frontend) Minor fixes for pull request #129

Add a test to avoid regression on the litterals size
Other minor fixes (code formatting)