updated example with assertions on raw request data