Add tests for isElement() #47