add "codequality" test. initially, this is just looking for script errors
capture resource errors and debug messages