Added libraries to pom.xml
Added some test codes.