test model attribute