adding tests for _get,_set,toJson,and equals.