Here is my code for testing the methods.