Algebra and other testing utilities and R3 element test