Added continuous integration tests.
Added tests for executing code that throws errors, and optional javascript.