Added getters for properties
Fixed invalid property return
Added tests for class getters