Add unit test for @BeanParam support.