corrected test to protected method