remove private method from test