Added unit tests for "get" and "set" functions