add test for valid bean