added tests for == and $
added tests, actually implemented $ and ==
added $ for refs and removed == for ref test

== in refs should use the pointer to compare
removed `$` for refs upon request
Merge pull request #341 from Tass/master

Basic logic for objects