Convert method in meter impl now makes use of valueOf method. Added unit
tests for meter impl. Added junit dependency in test scope.