changed resp codes, removed tests