Fix for Issue#308 , Adden new test cases for accessors