updated deployable script so it can optionally run tests. this will need to be recompiled into the executable. Refs #316