Added more memory checking & tests for get/set.
0.2.4