Test implementation using Rails4