Refactored RSpec tests, including more scenarios with leases and made the necessary modifications in the 'am_manager'.