       @emit "done", 1
       return
 
-    if +options.timeout > 0
+    if options.timeout? and +options.timeout > 0
       setTimeout =>
         log.error "spacejam: Error: tests timed out after #{options.timeout} milliseconds."
         @killChildren( Spacejam.DONE.TEST_TIMEOUT )
       , +options.timeout
 
-    if +options["crash-spacejam-after"] > 0
+    if options['crash-spacejam-after']? and +options['crash-spacejam-after'] > 0
       setTimeout =>
-        throw new Error("Testing spacejam crash")
-      , +options["crash-spacejam-after"]
+        throw new Error("Testing spacejam crashing.")
+      , +options['crash-spacejam-after']
 
 
   testInVelocity: (options = {})->

  testPackages: (options = {})->
    log.debug "Spacejam.testPackages()", options
    expect(options).to.be.an "object"
    expect(@meteor, "Meteor is already running").to.be.null

    options = _.extend @defaultOptions, options


  defaultOptions:
    'phantomjs-script': 'phantomjs-test-in-console'

  meteor: null

