basic testing working.

* using hashes for elements now.