Add tests for constexpr functions.