tests for body validations