removed extraneous debug statements
added description of the test and asserted against hand calculated values