Added status factory unit-tests