added testing scenario psuedocode