tests(models-routes): add unit tests to models and routes