refecator GettersTest