added unit tests for log table, packed arithmetic and polynomial degree