created tests and delete and update routes