added some model testing plus devise