Required fields validation.
unittest.
todo...