test
updated tests, fixed gc problem, and made locate not open up an element