Moved BeanUtils methods to BeanFactory and implemented unit tests for AutowiredBeanPostProcessor.