Adding exception tests for queueWork(). Updated queueWork() to check for properly formed unit of work object.