Resolve test warnings for Rails 4

Signed-off-by: Phill Sparks <phill@crowdlab.com>