Updated test to correspond to the updated class