added test with head/:id request