removed the test methods from test class and bean