Adding try-catch to autorun test, passing error to done function
Tests now written in CoffeeScript, avoiding many braces