removed unnecessary function isexception
added handling for list input
removed unnecessary function isexception
added tests with list input
added test split with spring value true
test coverage for elements.py to 100%