Better assert message when factory creation fails
Better assert message when factory creation fails

atilaneves/unit-threaded,shishkander/unit-threaded,shishkander/unit-threaded,atilaneves/unit-threaded