bean validation and unit test