Adding text level semantics tag libraries and refactoring the elements test script