added factory bean test