Testing gem-based ruby-on-rails architectures