added math3 package
modified test