adds a test for serializing a body param as list