1) extract MyTestContainerFactory class from Anonymous class
2) some typos