added test for setBody