create test on protected method