Added tests for model attribute presence validation