Added helper for testing protected