Adding testing

calculations are not correct trying to figure out why