Add comment so it's clear why the unique(name) test is not grouped with the others.
Fix test.
Rename confusing variable name.
Add validator: timeNeeded should not be negative.
Fixed validation to actually detect missing error codes.

Added some more default object generation methods.
Simplify test.
First version of ProductSpec.
Ticket: #91, still needs Component check.