Test command line interface and remove trailing space after print

The test command line interface is important for testing top-level statements.
These two commit must be merged before top-level statements support continue.