Added additional assertion for body attribute