Added basic unit tests for error conditions.
Added basic unit tests for error conditions.

mfeit-internet2/pscheduler-dev,perfsonar/pscheduler,mfeit-internet2/pscheduler-dev,perfsonar/pscheduler,perfsonar/pscheduler,perfsonar/pscheduler