Added status validation and tests.