Add Sec Tests and strip trailing whitespace from _math