Added unit tests for element.py
Added documentation for all methods in Element