Create a KeyNotFoundError. It is returned when a model with the given id does not exists. Add a test for it.