Refactored pom.xml to package Magnifier with all the dependencies
Also refactored the ConfigurationTest.