fixed (?) multiplication precedence and added algebra vs. hscript tests