Resource not found should return HTTP status 404