Render status messages using Rails
Improve some specs