console.log removed after sucessful test - change to calculation to compute proper result