Created Resource tests, db table and model