add private method test