expanded tests. added overload to getElement