Add spec tests to cover base configuration functionality, and fix scope issue re: Rails.