Added tests to MathHelper

Tested the NextPowerofTwo and Log2 functions.