ES6: Added some Math functionality checks

Some Math functions' tests have been upgraded from just existence to
basic functionality. These are not supposed to test much beyond a basic
result or two, to at least determine that they quack like the intended
mathematical function.
Fixed whitespace and added more checks