added test as well as a jar file
made changes