Added UTs for specification validation.
Added test that submit order returns empty result for an invalid
specification. Also no tasks are started.
Added missing verification.
Added missing test for invalid order state check.