Updated from_model and test_from_model to raise ValueError instead of AttributeError