wrote PUT tests