added specs for 'dirty attrs' behavior