item6: adding testing class. Adding log4j for debugging. Adding spring framework dependency.