> Don't we want to test the command line compilation of these examples?

That test does call the command line utility.

To test both command line and browser we would need to use something like karma.