added tests for get and set