Unit tests for the GenericElementsTool