added test for empty body