Refactor test to cover each environment scenario in contexts
Use new & preferred RSpec expect syntax instead of should