test calculateConvValue -> (green) ->  refactoring code