Added ability to select tests by test name.

Previously only test ID's were possible.
Added trigger testing infrastructure.

Also added test case using trigger tests.