make some method protected
-fixed robolectric tests