Created test methods and made them pass