Inherit staging.rb from production.rb

* Inherits `staging.rb` from `production.rb`
* Added rspec tests