test model methods