Changed the ResourceTest to use a single BeforeClass and AfterClass methods. Added default log4j.properties