Implemented Shield test cases and its functionality.