test if methods can be made private