new tests for raw functions