Test more math functions