Testing helpers for Rails apps