mod13 updates

Inserted code per Brandon’s suggestions, in order to fix the two RSpec
tests that were failing.