add unit test to drive getBean