use test to check all the implement of bean