Update protected_test.cpp